package com.woniuxy.repay.mapper;

import com.woniuxy.entity.RepaymentLog;
import com.woniuxy.entity.RepaymentManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shichen
 * @create 2021-11-24-15:33
 * @description
 */
@Mapper
public interface RepaymentLogMapper {
    /**
     *  插入
     * @param repaymentLog
     */
    void insertByCondition(RepaymentLog repaymentLog);

    /**
     * 条件查询
     * @param repaymentManage
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<RepaymentLog> selectByCondition(@Param("repaymentLog")RepaymentManage repaymentManage,
                                            @Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);
}
